
direction = direction or {}

direction.LEFT = 0;
direction.RIGHT = 1;

function direction.getDir(x, y)
	if (x >= 0) then
		return direction.RIGHT;
	elseif (x < 0) then
		return direction.LEFT;
	end
end

return direction;
